﻿using System;
using G.Model.Runtime;
using G.Model;

namespace G.Runtime
{
    public class GameFactory
    {
        public static GameFactory Factory
        {
            get;
            set;
        }

        static GameFactory()
        {
            Factory = new GameFactory();
        }

        public GameFactory()
        {
        }

        public virtual GameSpace CreateGame(GameSpaceDef pGameDef)
        {
            return new GameSpace(pGameDef);
        }

    }
}
